from django_filters import rest_framework as filters

from .models import LocDevices


class LocDevicesFilter(filters.FilterSet):
    class Meta:
        model = LocDevices

        fields = {
            'status': ['exact', ],
            'location_name': ['icontains', ],
            'location_id': ['exact', ],
        }
